Here is a chieftan script

page=start
title=Chieftain
text=start
Hello stranger!
Me is chieftain of tribe huge. I can brew potion magic for you!
text=end
button=trade,Yeah! Potions!
button=action:close,Thanks but I don't need potions

page=trade
title=Trade with chieftain
# Meat -> Juice
trade=start
sell=10,3
buy=47,1
trade=end
# Meat -> Healthpotion
trade=start
sell=10,5
buy=36,1
trade=end
# Meat -> Airpotion
trade=start
sell=10,1
sell=109,10
buy=114,1
trade=end
# Meat + Bread -> Speedpotion
trade=start
sell=10,1
sell=44,1
buy=112,1
trade=end
# Meat + Bread -> Immortalpotion
trade=start
sell=10,6
sell=44,2
buy=113,1
trade=end

button=action:close,Goodbye, great chieftain!

Notice that if you read our previous session. Once you go on single player. Any script you selected in charscript would allow you to trade . I'm going to show you how. Go to mods\Stranded II\sys\items. Notice that there are many item's with numbers beside them. Those number's are their id. 
I'm going to make a very brief script you can use to learn how to trade. But first how to make scripts. 

page=start    (start of page)
title=Native  (Title in the game)
text=start    (needed to start text)
Me aursome. 
Aursome want to trade   (text)
text=end      ( Without this the text won't even start )
button=trade,Let's see ta  (Let's you trade after(,) write whatever)
button=info,I want to know about claw spear (info)
button=info1,What's a chicken?(You probably don't have to name them
trade or info but i haven't tested yet)
button=action:close,Gotta go (makes you leave note: you don't have to say button=action:close,Gotta go you could say button=action:close,me no speaky english)

page=trade (Not start trade)
title=Native  
### Bread + Meat -> Banana
trade=start        (must write this)
sell=44,3     (bread's id numbers is 44 then add a (,) and the 3 indicates you will have to sell 3 bread's to get what you want)
sell=10,3 (you don't have to sell two items buy 1 one)
buy=14,5  (same thing as sell first, is item id and after(,) is number)
trade=end

button=action:close,by

page=info   
title=Native
text=start
Claw spear makes enemies bleed to death. Claws+branch
text=end
button=action:close, bye
button=trade,I want to trade ( you can add the trade button more then 1 time BUT it will still get you to the same place)
button=info1,chicken?

page=info (second info page)
title=Native
text=start
cock-a-doodle-doo
text=end
button=action:close,bye
button=info,claw spear?
button=trade,lets see your stock

Ok you now know how to make a simple text but how do you use it?
Copy a S2S file located in mods\Stranded II\sys\scripts and rename and delete it's contents and copy 
the script we just made.
page=start    (start of page)
title=Native  (Title in the game)
text=start    (needed to start text)
Me aursome. 
Aursome want to trade   (text)
text=end      ( Without this the text won't even start )
button=trade,Let's see ta  (Let's you trade after(,) write whatever)
button=info,I want to know about claw spear (info)
button=info1,What's a chicken?(You probably don't have to name them
trade or info but i haven't tested yet)
button=action:close,Gotta go (makes you leave note: you don't have to say button=action:close,Gotta go you could say button=action:close,me no speaky english)

page=trade (Not start trade)
title=Native  
### Bread + Meat -> Banana
trade=start        (must write this)
sell=44,3     (bread's id numbers is 44 then add a (,) and the 3 indicates you will have to sell 3 bread's to get what you want)
sell=10,3 (you don't have to sell two items buy 1 one)
buy=14,5  (same thing as sell first, is item id and after(,) is number)
trade=end

button=action:close,by

page=info   (first info page
title=Native
text=start
Claw spear makes enemies bleed to death. Claws+branch
text=end
button=action:close, bye
button=trade,I want to trade ( you can add the trade button more then 1 time BUT it will still get you to the same place)
button=info1,chicken?

page=info (second info page)
title=Native
text=start
cock-a-doodle-doo
text=end
button=action:close,bye
button=info,claw spear?
button=trade,lets see your stock

Great so now you know how to make your own scripts. But how do you use them?
Here's how. Say i made a script called blacksmith (which I have) and I want to use it in stranded 2.
First I copy a S2S file (located in Stranded II\mods\Stranded II\sys\scripts) I rename it. And delete it's content and put my blacksmith script in.
Let's say I call it random_char_blacksmith. Ok here's how to use it. I go to random_charscripts (Stranded II\mods\Stranded II\sys\scripts) and I add this
in.

//~blacksmith
on:use {
     dialogue "start","sys/scripts/random_char_blacksmith.s2s";
}

Then I save it. Go to stranded 2. Go to editor mode add a unit go to list, click import and go
to mods\Stranded II\sys\scripts and click on random_charscripts. Delete all unwanted text and should come up with this

//~blacksmith 
on:use {
     dialogue "start","sys/scripts/random_char_blacksmith.s2s";
} the click ok save it go to single island and test it! (Please note I have not given you the blacksmith script so you
you will have to change some parts. But that's ok. It's how I learned. YOu need to look at the scripts.

For more help tp me. By the way if you didnt know the S2s file is the place where you write your script


